<?php
/**
 * ExtTip class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtTip extends ExtPanel
{
    /**
     * Gets the value of ExtJS closable property
     * @return Boolean 
     */
    public function getClosable()
    {
    	return $this->getConfig("closable");
    }

    /**
     * Sets the value of ExtJS closable property
     * @param Boolean $value 
     */
    public function setClosable($value)
    {
    	$this->setConfig("closable",$value);
    }

    /**
     * Gets the value of ExtJS defaultAlign property
     * @return String 
     */
    public function getDefaultAlign()
    {
    	return $this->getConfig("defaultalign");
    }

    /**
     * Sets the value of ExtJS defaultAlign property
     * @param String $value 
     */
    public function setDefaultAlign($value)
    {
    	$this->setConfig("defaultalign",$value);
    }

    /**
     * Gets the value of ExtJS maxWidth property
     * @return Number 
     */
    public function getMaxWidth()
    {
    	return $this->getConfig("maxwidth");
    }

    /**
     * Sets the value of ExtJS maxWidth property
     * @param Number $value 
     */
    public function setMaxWidth($value)
    {
    	$this->setConfig("maxwidth",$value);
    }

    /**
     * Gets the value of ExtJS minWidth property
     * @return Number 
     */
    public function getMinWidth()
    {
    	return $this->getConfig("minwidth");
    }

    /**
     * Sets the value of ExtJS minWidth property
     * @param Number $value 
     */
    public function setMinWidth($value)
    {
    	$this->setConfig("minwidth",$value);
    }

    /**
     * Gets the value of ExtJS shadow property
     * @return Boolean/String 
     */
    public function getShadow()
    {
    	return $this->getConfig("shadow");
    }

    /**
     * Sets the value of ExtJS shadow property
     * @param Boolean/String $value 
     */
    public function setShadow($value)
    {
    	$this->setConfig("shadow",$value);
    }

    /**
     * Gets the value of ExtJS width property
     * @return Number 
     */
    public function getWidth()
    {
    	return $this->getConfig("width");
    }

    /**
     * Sets the value of ExtJS width property
     * @param Number $value 
     */
    public function setWidth($value)
    {
    	$this->setConfig("width",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'defaultalign' => 'defaultAlign',
            'maxwidth' => 'maxWidth',
            'minwidth' => 'minWidth'
        ));



        $this->setXType('tip');
        $this->setXClass('Ext.Tip');
    }    
}
?>